using System.ComponentModel.DataAnnotations;

namespace MathTutorPro.Models.Requests
{
    /// <summary>
    /// 发送消息请求
    /// </summary>
    public class SendMessageRequest
    {
        /// <summary>
        /// 消息内容
        /// </summary>
        [Required(ErrorMessage = "消息内容不能为空")]
        [StringLength(1000, ErrorMessage = "消息内容不能超过1000个字符")]
        public string Content { get; set; }
    }
} 